package com.the4man.cnbdw.service.impl;

import com.the4man.cnbdw.dao.FenceInfoMapper;
import com.the4man.cnbdw.service.AbstractService;
import com.the4man.cnbdw.service.FenceInfoService;
import com.the4man.framework.model.FenceInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by lenovo on 2017/12/12.
 */
@Service("fenceInfoService")
public class FenceInfoServiceImpl extends AbstractService<FenceInfo> implements FenceInfoService {
    @Autowired
    private FenceInfoMapper fenceInfoMapper;

    public FenceInfoServiceImpl() {
    }

    public String selectName(String apMac) {
        return this.fenceInfoMapper.selectName(apMac);
    }

    public String selectRegion(String apMac) {
        return this.fenceInfoMapper.selectRegion(apMac);
    }
}
